removed stray reference to v_end