added some example code in readme