testing directional code