WIP: splitting
fixed use of scaffolding and return type of ex.run()
documented captured functions