finish form and data