save model method added