working with distrom