Dummy up some query logic