Added demo code (GUI)