added cost to route class