if statement formatting