implemented new status check