added decorator arguments to defien function spec