Added getValues() method to allow read-only access to the private values array