support for cyclic dependency detection