slightly improved getWay