refinement of QuerySpec Model