model and adaptr