updates to ChatInteraction class