Locomotion: a tripartite system