Add flag to delete or not