Development of cognition, affect, and social relations