put everything into a polymerelement