swapped attributes