remove dependency on text