Using the location Object