add more code sample to readme