implemented swap archived