Improved the output of the sample