clean up
and output