connecting to the grid