first version of submit form