defined type refereble from inner type