- added some javadocs;