Added the ability to get the distance and rate