The mechanics of learning,