changed name of function passed to decorator