added brew database and create functions