javadocs comments added