changed demo application