test
Update function comments
Attempt to write out a workflow (could use some work)