changed demo to index