logic separated in compute file and it works(aka able to pull route info from db)