simplified demo app distance