the main meets queue logic/object