adding reference grid