routefunc.cpp is added