starting form handling