changed from c to d for location