added name field to metadata