make the queries not suck