add the checking of forms