refactored setBeerText into a method