The greatest problem for railroad developers was money. Building a line was very expensive—purchasing right of way, paying wages for large work forces, and buying rail and rolling stock. State and local governments offered what financial assistance they could in the hope of attracting railroads to their areas.