little more compact queries