added javadoc for constructor