switch places of x and o for consistency