v0.1.9: add complete callback