waiting for sadabs to end and refinement of gvalue finally working