changed method names to dist_*