added d3, wrote cdv reader