def run_func(zelf, *args, **kwargs):
    """ execute command/event pair. """
    cmnd = args[0]
    event = args[1]
    if cmnd not in zelf:
        return
    for functor in zelf[cmnd]:
        functor.func(event)
    event.ready()
    return event
