changed phone number function

changed phone number function, need to change it to true and false
still rather than console output