polished the output for testing