chat bubble refactored