list and query