updated constructor's javadoc