formatting lines, few glitches