show output of sample code