added an embeddable version