debugging events controller