havent pushed in a while - chat now ends depending on a variable name that can eventually be chosen by user