add data and swap columns