implemented form for submit 2