more queries and json