Added boilerplate code for if statements.