Implementing the workflow