added formatPhoneNumber method