simplify vertex definition