adding grid elements