Add in the location to time module as a function. Add some caching too