Added embedding code