call_gen_erase example added