added check method to the form block