added name attribute to metadata