Added base to connect method