The Principle of Least Action – why it works