Editing IF statements