working on cell-based processing (see #28)