change to createWorkflow