aadding new mealy simulation