interface for vertex