added gui event handlers