add model data function to searchRoute