working with glitches