commented out metadata api