evt-function added to simplify event handling.
evt-function added to simplify event handling.