code refactor to load company names in array-store the choice in a variable