Added a javadoc