added some documentation to the jdgconsume program