only now learning that .clear() doesn’t reset a stringstream, i shudder to think what code is wrong right now