Improved embeder example