remove duplicate definition of function ( since there is the exact

same code before in the file, with added debug statement )