Modify the ffnet as a model