added parameters dist