Adding debugs to fix things.