Safe and supportive conditions for learning