adding ref to demo