added basic road cost functionality