If statement formatting