first gridding attempt