working away... added action for events