made swapoff its own method