added metadata attachment