revising variables in beers controller