demo app copied from ydn-dev