Simplifying the 'which way do I turn?' code.