switching directions now works