add automatic routing