You check if the location is null below this scope - What if it's null here?