try factoring in var chatController