change method to property