updated for returning height based upon model type in cell