better status check