trying to resolve cycles