attached metadata generator to processor