added out_vertices method