more stub code, for connection factory