added first javadoc