events are hooked up to controls