setup for chat parsing