added a class inference instance