add a code example to the readme