simplify events api