Adding new codebreakdown logic (andrews custom)