Added debugging stuff