Added addAction and added more events