corrected phone parse method and refactored