cleaned up line spacing and tabs, added getVertex()