thanks anyway everyone…i got it to function passing variable from the mesh into the MS to set and get array values…