changed from mfw to dfa