added vg_assert(0); inside a function