add status check.