refactor the Customer.java