Added demo code with add