renamed isGrigComplete to isGridComplete