work on cdf reading. references #29