0.0.3: support custom callback once confined