Delete IfStatements