add memory and new dffs