finished demo application