debugging stuff changed so its easier to enable/disable