add data view controller with query.