edit location code added