removed dist method