first queue prototype