Preprocessing chain implemented. no tests yet but testing by visual
inspection is enough