[feature] status flags set
[feature] TOOD
[feture] checking the return values of epbase_add_tg()