removing duplicate declarations