added last two parts of preprocessing chapter