Railways rehabilitation