Found the bug. Now for the catching.