one less step in the if/else