Adds functions fourfolds and print fourfold