Changed the syntax of the if statement and added declarations for statement primitives