Trying to integrate cmmdc calculation in $columns