********************** Pre/Post-Processing **********************