added location class