query for list action working