added location code