change encoder getter distance method names to reflect function