drop the excessive whitespace (no need for an empty line below an if); can you do that in other places too?