added an end to a form