resourceExtract using templates more