give better example for cell2d deprecated syntax