changed html, form, and dynamic back to getInstance calls instead of new instantiation