added doubles and swapping