adjusting grid