prepearing for form handling