make Adam's failing query work