building funcs for route division