Fix error and add example tot the readme