Phone-check method refactored