cell model and edit