add id as a query