section 145 of railway act