added events plugin