Loosely matching rhymes for dual code