Capture models and debug