tested both directions