008: removed debug output, used const for chartoint