Added embed functionaity