ann pole balancing example