Getting distance, save location, fix typo