adding embed capability