Linking with eventhandlers