Added return of chainable to then function