adding constructor to chat interaction