added methods to customer repo