trying to resolve dependency cycle