added vertex save function