getters changed to property function