improved the output