add a demo which define a var dynamically