Replace c tweak by a lexical cast and add comments