added to_dok converter