query decoded