refactoring trianlge based on comments
resubmitting phone-number code