add id router functionality