order of directions to make pattern clearer