expanded example code in readme