Updated demo program