make route func private