Development of thinking