statements checker