finished preprocessing discussion