need the tm library to set metadata