add a code example to readme