Use 3 checks, if it equals "xx", first element "x", second element "x"