adding check.