use NewExtendedResponse in client.go instead of the raw method