add swaps for attribute types
sort of an edit