no excessive newlines in swap functions