Fixed crash when location was unknown
Cleaned up the code a little bit
known issues: -
Added a cool comment :D