remove dependency on external