Added an if statement

This is the start of the if statement