Convertory a enum na distance