adding grid system