minor grid stuff