changed controller extending to event