first commit of a working decorator.js