integrated the cell types to add index. can figure out how to better encapsulate config later