add missing return to make example run

No big deal, but came across this today and thought it might trip someone up.