adding events controller-finish it