Added code for the pole walk