added metadata controller