first version of new workflow; outcommented most of the unit tests;