added the ability to walk forwards and backwards