added functions to validade the Jewel Swap