add the ability to query secondaries