refactored form
dynamic model for form elements