please rename `elements` -> `numWriteCells`