Working with $location