Training, safety investments prevent violations