Adding debug utility