more query work