refactored form; time to add AJAX