adding grid classes