started rewriting the preprocessing system