minor adjustments
call vertices attr directly rather than get_vertices() method