I am currently trying to append to the output list in my code the id of the query result. I can get it to do one of the ids but it will override the first one how can I chan