added check fun templates