=BG= implement sequential query queue
=BG= implement sequential query queue
=BG= implement dependent query queue
=BG= validation for dependent query queue
=BG= refactor to use a single validation for all three types of queue