revise explain query