added back metadata method