added price calculation for routes, but not working