method name getPropertyName is changed to getName