extented the model