Oh, that's what happens after 3 years of programming, even in harder languages. Practice makes perfect.