Working EM1DFM and TM