simplify queue