Addint javadocs in order to increase readability a bit