Adding debuging