simplified metadata inject example