use DOM factory
