this is duplicated logic that should be abstracted into a common workflow.  Otherwise, its going to be repeated each time its needed.