0.0.9: made callback configable