Added adapter pattern, calculate distance on new item