Spaces after if
Move variable definition
Shorten variable names