WIP: debuggi9ng buoncy code