add example on yaml, update readme