commented functions and fixed glitch