adding custom events