preparing for event branch