added addFromDom