added more complexity to the if to show why it's bad