cleaned up the output