EmbeddedDocument working