working customer side of the code