checking form instance