factors influencing cost