by causing the machine to stop on the occurence of dangerous conditions therein