Refactored output.