Added a more example code to docs.