Added an example for javadocs