changed contact form functions