adding restore model