Adding grid id