adding javadocs
done with javadocs