redefain check_status function