move inherit properties to private method