refactoered phone_number.rb to multiple methods