create connection between event and check