makemetadata: added comments