added some more comments to digenv.c