latest code in sche_queue