change dfd function