this should be set when connecting, not in the constructor