Implorved list edit (added dist)