fix return type on README.md file for the example