learned about vertex and fixed the glitch