updated with AdvModel