initial query commit.
Updates for queries.