Dynamics of personality development