refactor live interface

there is already a getDistance