OK, I have got the query for the group list and will now create the code to work through it, which is stage 1.