please do the query in panel