improving event support refs in engine and adding grammar language #3 #4