used event for routing in navigation