replaced router callback functs with rtr options