Dynamic complexity