Adding debug timer