enhanced: preProcessing and postProcessing tasks