started painful debugging