removed previous canton and its validation
added mailing func on submit if no errors