corrected do_NAL declaration