add more checks.