stylistic code tweak
add error handling for nonexistent weather location