compare and delete DONE