refactor enum. check for empty phone num