built check function