Added sample event handler