added 4th additional feature for swap 3