changed demo to more closely resemble use case