Add protoptype of loseEvent functionality need to be marge with flagField