work with documents elements