method call is to "getDist()" but I'm thinking it's supposed to be getDistance as defined below