delete duplicately defined function (and commented function)