added a model for persistance