added the flag module