keep track of leg order
deleted unnecessary method