define brands, companies, as separate function