tweaks to embed