Use getVertex rather than vertices[]