simple_queue refined