Added javadocs
Added javadocs