Setting up the processing queue