Implemented a proper counter for determining starting status