Wrote out basic workflow