changed demo page so it still works before major refactoring