changed var names checkCount to initialCheckCount