Add router level function