correct syntaxt for if statement