adding grid stuff