revised workflow