simple example for python decorator