implemented start logic for workflow