Simplify if/else statement for debugging purposes