commit working demo code