add demo for decorator