predict route is functional