final version of CustomerService.java