Add main check.