code of demo