made demo code