Use then(...) in constructor