implemented grid and blobs