simple demo for teaching purposes