Add queue logic basics