Removed getDistance and getDuration due to errors. Other things added...