THEORY OF DYNAMICS