Change this to just an if statement.