rename to swap
rename swap attributes