moves and deletes