added res0 output

res0 will output the 0th extension information as a keyword