JC: added workflow to engine. specs pass.