made events working