Add method for safty data conversion