Added flag_deliver