Text this: Theory of investment in railway companies