append values of the gain on the header