Preprocessing funcs tested and working.