Dual directions, Coded and tested