WIP with queries and results parsing