correcting redeclaration