a rain moving along the railway line and a controller