started adding form submit functions