connect method made chainable