early version of CustomerService.java