added initial preprocessing routines