added javadoc to all be