"%12s%12s%12s%15s%12s\n" should be constant - it's used in two places