removing the duplicate declarations