Glitchy Code Fixed

The previous code which was pushed seems have been corrupted? this
version is fixed