connect now passes options into factory