replaced msg_state
Merge branch 'master' of https://github.com/kgmstwo/THBCP