added method to the customer model