minor changes
clean up output sample