- added javadocs