Adding debug