added missing parts in ffbp nn