added internal innermodel