elements.html factorization