move Eric's gait code into hubomz