added a working demo