How is the waitlist queue determined?