add reset() method to form