Changed status to use global counter