Implemented Swap Table