added form clearing