remove dependency on distribute