wip debugging part