use if/then consistently