final map and model