adding a result output