reverse the if/else so that you don't have to use pass