adding grid template