prints out cosmic in grid