wip: use logging