removing instance check