change to call for reading variables in grid