added save for LM_data_wrapper