A study of the factors influencing customer satisfaction