added metadata loader