added events controller