Change to moocinstance model