add a substate output