capture expected output