adding events to routes