Made the processing time configurable