Weird 'if' statement formatting