flipped the positions values with a positions table