codes for polewalk done using AVS. but AVS to be packed and trip witch to be used as much as possible