adding demo code
adding code for demos