Continuity and discontinuity in cognitive development