debug final(ish)