just before switching to table h_ and v_