Deleted rollback algo