Factors influencing student motivation