fix indent
comment out unused variables
use enum
remove '/*' in comment
add ambiguous width option