chore(readme): add return statement to examples