amedns to model