Updated sample with closure, ref and real assertion