status check routine updated.