- added missing getter
- made distance calculator public