simple example on decorator