changed New to include connect method