pub fn interact(
    string: String,
    tx: Sender<Coms>,
    config: Config,
    init_time: Instant
) -> (Config, Instant)