query processor is still wip; making progress