finsihed all queries