Metadata works (NOT FINISHED)