delete function check_status()