Modified preprocessing