finished event handlers and stylized