patterns acting as ugens