Moved get vertices method