added input queue