JC: added workflow to the engine. specs pass.