Loosely matching rhymes for device code