added controller events (broken)