got the group getxml function to work