Added 'vertex' function