output formatted, bit refactored...