nice little fun stuff for optional params
fixed event handlers not being correct