Just in time: Act safely at level crossings