Style nitpicking: I much prefer

     if (something)

instead of

     if(something)

because the latter looks like a function call.