Use lambda in example instead of staby proc. [doc]