adding nick to each line