use getters/setters in ConnectionProfile