added name field to model