Changed code in CustomerDB