better queue example