Added queue arithmetic