Loosely matching rhymes for if-then-else statement