Added the real swap 2 code