remove dependency on diminish