Mechanism and machine theory