Impact of classroom environment on motivation