// this is visitor queue code below