Added a function for handling if statements.