added the result output