basic integration of the whole workflow