now the queries work repeatedly and pass