Adding further masking to the computeExtraColumn() function