Safety training for preventing accidents in the workplace