function already defined...redeclaration removed