removing duplicate lines