gridding works