better event and frame nsing