necessary comments for javadoc added