adding line counters too