Loosely matching rhymes for generalized routine