adding multiple legs, fixing some things