added line 7 as emergency break fix