GuestID query added