fully working version for first workflows