wip, more logging