location class added