check in template