Hooking up demo with sample