adding metadata mapping