formatting for long input lines