updated examples with simplified router access