add javadoc

for the class