separate cells from model functions