changed flag to be the ratio D/z for module.
flag is now above this