how does the environment influence learning