cpu check, cleanup