Change property to method