demo doesn't retain ref to display inside closure