added function to retrieve brands