note query in credentials.