added use to swap