added location to init