fix readme and add example