working on CDFreader