added helpful error message for the TomTom
refactored code for ovi