modified
added javadoc