added JavaDocumentation