add customer dict function