added swartzcr's glitch