Added better call to processqueue